package com.gridmobi.xrtb.domain.dsp;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DspCreativeBannerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public DspCreativeBannerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIsNull() {
            addCriterion("deleteflag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIsNotNull() {
            addCriterion("deleteflag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteflagEqualTo(Integer value) {
            addCriterion("deleteflag =", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotEqualTo(Integer value) {
            addCriterion("deleteflag <>", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagGreaterThan(Integer value) {
            addCriterion("deleteflag >", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagGreaterThanOrEqualTo(Integer value) {
            addCriterion("deleteflag >=", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagLessThan(Integer value) {
            addCriterion("deleteflag <", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagLessThanOrEqualTo(Integer value) {
            addCriterion("deleteflag <=", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIn(List<Integer> values) {
            addCriterion("deleteflag in", values, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotIn(List<Integer> values) {
            addCriterion("deleteflag not in", values, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagBetween(Integer value1, Integer value2) {
            addCriterion("deleteflag between", value1, value2, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotBetween(Integer value1, Integer value2) {
            addCriterion("deleteflag not between", value1, value2, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andFormatIsNull() {
            addCriterion("format is null");
            return (Criteria) this;
        }

        public Criteria andFormatIsNotNull() {
            addCriterion("format is not null");
            return (Criteria) this;
        }

        public Criteria andFormatEqualTo(String value) {
            addCriterion("format =", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatNotEqualTo(String value) {
            addCriterion("format <>", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatGreaterThan(String value) {
            addCriterion("format >", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatGreaterThanOrEqualTo(String value) {
            addCriterion("format >=", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatLessThan(String value) {
            addCriterion("format <", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatLessThanOrEqualTo(String value) {
            addCriterion("format <=", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatLike(String value) {
            addCriterion("format like", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatNotLike(String value) {
            addCriterion("format not like", value, "format");
            return (Criteria) this;
        }

        public Criteria andFormatIn(List<String> values) {
            addCriterion("format in", values, "format");
            return (Criteria) this;
        }

        public Criteria andFormatNotIn(List<String> values) {
            addCriterion("format not in", values, "format");
            return (Criteria) this;
        }

        public Criteria andFormatBetween(String value1, String value2) {
            addCriterion("format between", value1, value2, "format");
            return (Criteria) this;
        }

        public Criteria andFormatNotBetween(String value1, String value2) {
            addCriterion("format not between", value1, value2, "format");
            return (Criteria) this;
        }

        public Criteria andWIsNull() {
            addCriterion("w is null");
            return (Criteria) this;
        }

        public Criteria andWIsNotNull() {
            addCriterion("w is not null");
            return (Criteria) this;
        }

        public Criteria andWEqualTo(Integer value) {
            addCriterion("w =", value, "w");
            return (Criteria) this;
        }

        public Criteria andWNotEqualTo(Integer value) {
            addCriterion("w <>", value, "w");
            return (Criteria) this;
        }

        public Criteria andWGreaterThan(Integer value) {
            addCriterion("w >", value, "w");
            return (Criteria) this;
        }

        public Criteria andWGreaterThanOrEqualTo(Integer value) {
            addCriterion("w >=", value, "w");
            return (Criteria) this;
        }

        public Criteria andWLessThan(Integer value) {
            addCriterion("w <", value, "w");
            return (Criteria) this;
        }

        public Criteria andWLessThanOrEqualTo(Integer value) {
            addCriterion("w <=", value, "w");
            return (Criteria) this;
        }

        public Criteria andWIn(List<Integer> values) {
            addCriterion("w in", values, "w");
            return (Criteria) this;
        }

        public Criteria andWNotIn(List<Integer> values) {
            addCriterion("w not in", values, "w");
            return (Criteria) this;
        }

        public Criteria andWBetween(Integer value1, Integer value2) {
            addCriterion("w between", value1, value2, "w");
            return (Criteria) this;
        }

        public Criteria andWNotBetween(Integer value1, Integer value2) {
            addCriterion("w not between", value1, value2, "w");
            return (Criteria) this;
        }

        public Criteria andHIsNull() {
            addCriterion("h is null");
            return (Criteria) this;
        }

        public Criteria andHIsNotNull() {
            addCriterion("h is not null");
            return (Criteria) this;
        }

        public Criteria andHEqualTo(Integer value) {
            addCriterion("h =", value, "h");
            return (Criteria) this;
        }

        public Criteria andHNotEqualTo(Integer value) {
            addCriterion("h <>", value, "h");
            return (Criteria) this;
        }

        public Criteria andHGreaterThan(Integer value) {
            addCriterion("h >", value, "h");
            return (Criteria) this;
        }

        public Criteria andHGreaterThanOrEqualTo(Integer value) {
            addCriterion("h >=", value, "h");
            return (Criteria) this;
        }

        public Criteria andHLessThan(Integer value) {
            addCriterion("h <", value, "h");
            return (Criteria) this;
        }

        public Criteria andHLessThanOrEqualTo(Integer value) {
            addCriterion("h <=", value, "h");
            return (Criteria) this;
        }

        public Criteria andHIn(List<Integer> values) {
            addCriterion("h in", values, "h");
            return (Criteria) this;
        }

        public Criteria andHNotIn(List<Integer> values) {
            addCriterion("h not in", values, "h");
            return (Criteria) this;
        }

        public Criteria andHBetween(Integer value1, Integer value2) {
            addCriterion("h between", value1, value2, "h");
            return (Criteria) this;
        }

        public Criteria andHNotBetween(Integer value1, Integer value2) {
            addCriterion("h not between", value1, value2, "h");
            return (Criteria) this;
        }

        public Criteria andWmaxIsNull() {
            addCriterion("wmax is null");
            return (Criteria) this;
        }

        public Criteria andWmaxIsNotNull() {
            addCriterion("wmax is not null");
            return (Criteria) this;
        }

        public Criteria andWmaxEqualTo(Integer value) {
            addCriterion("wmax =", value, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxNotEqualTo(Integer value) {
            addCriterion("wmax <>", value, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxGreaterThan(Integer value) {
            addCriterion("wmax >", value, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("wmax >=", value, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxLessThan(Integer value) {
            addCriterion("wmax <", value, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxLessThanOrEqualTo(Integer value) {
            addCriterion("wmax <=", value, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxIn(List<Integer> values) {
            addCriterion("wmax in", values, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxNotIn(List<Integer> values) {
            addCriterion("wmax not in", values, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxBetween(Integer value1, Integer value2) {
            addCriterion("wmax between", value1, value2, "wmax");
            return (Criteria) this;
        }

        public Criteria andWmaxNotBetween(Integer value1, Integer value2) {
            addCriterion("wmax not between", value1, value2, "wmax");
            return (Criteria) this;
        }

        public Criteria andHmaxIsNull() {
            addCriterion("hmax is null");
            return (Criteria) this;
        }

        public Criteria andHmaxIsNotNull() {
            addCriterion("hmax is not null");
            return (Criteria) this;
        }

        public Criteria andHmaxEqualTo(Integer value) {
            addCriterion("hmax =", value, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxNotEqualTo(Integer value) {
            addCriterion("hmax <>", value, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxGreaterThan(Integer value) {
            addCriterion("hmax >", value, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxGreaterThanOrEqualTo(Integer value) {
            addCriterion("hmax >=", value, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxLessThan(Integer value) {
            addCriterion("hmax <", value, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxLessThanOrEqualTo(Integer value) {
            addCriterion("hmax <=", value, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxIn(List<Integer> values) {
            addCriterion("hmax in", values, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxNotIn(List<Integer> values) {
            addCriterion("hmax not in", values, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxBetween(Integer value1, Integer value2) {
            addCriterion("hmax between", value1, value2, "hmax");
            return (Criteria) this;
        }

        public Criteria andHmaxNotBetween(Integer value1, Integer value2) {
            addCriterion("hmax not between", value1, value2, "hmax");
            return (Criteria) this;
        }

        public Criteria andWminIsNull() {
            addCriterion("wmin is null");
            return (Criteria) this;
        }

        public Criteria andWminIsNotNull() {
            addCriterion("wmin is not null");
            return (Criteria) this;
        }

        public Criteria andWminEqualTo(Integer value) {
            addCriterion("wmin =", value, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminNotEqualTo(Integer value) {
            addCriterion("wmin <>", value, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminGreaterThan(Integer value) {
            addCriterion("wmin >", value, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminGreaterThanOrEqualTo(Integer value) {
            addCriterion("wmin >=", value, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminLessThan(Integer value) {
            addCriterion("wmin <", value, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminLessThanOrEqualTo(Integer value) {
            addCriterion("wmin <=", value, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminIn(List<Integer> values) {
            addCriterion("wmin in", values, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminNotIn(List<Integer> values) {
            addCriterion("wmin not in", values, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminBetween(Integer value1, Integer value2) {
            addCriterion("wmin between", value1, value2, "wmin");
            return (Criteria) this;
        }

        public Criteria andWminNotBetween(Integer value1, Integer value2) {
            addCriterion("wmin not between", value1, value2, "wmin");
            return (Criteria) this;
        }

        public Criteria andHminIsNull() {
            addCriterion("hmin is null");
            return (Criteria) this;
        }

        public Criteria andHminIsNotNull() {
            addCriterion("hmin is not null");
            return (Criteria) this;
        }

        public Criteria andHminEqualTo(Integer value) {
            addCriterion("hmin =", value, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminNotEqualTo(Integer value) {
            addCriterion("hmin <>", value, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminGreaterThan(Integer value) {
            addCriterion("hmin >", value, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminGreaterThanOrEqualTo(Integer value) {
            addCriterion("hmin >=", value, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminLessThan(Integer value) {
            addCriterion("hmin <", value, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminLessThanOrEqualTo(Integer value) {
            addCriterion("hmin <=", value, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminIn(List<Integer> values) {
            addCriterion("hmin in", values, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminNotIn(List<Integer> values) {
            addCriterion("hmin not in", values, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminBetween(Integer value1, Integer value2) {
            addCriterion("hmin between", value1, value2, "hmin");
            return (Criteria) this;
        }

        public Criteria andHminNotBetween(Integer value1, Integer value2) {
            addCriterion("hmin not between", value1, value2, "hmin");
            return (Criteria) this;
        }

        public Criteria andBtypeIsNull() {
            addCriterion("btype is null");
            return (Criteria) this;
        }

        public Criteria andBtypeIsNotNull() {
            addCriterion("btype is not null");
            return (Criteria) this;
        }

        public Criteria andBtypeEqualTo(Integer value) {
            addCriterion("btype =", value, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeNotEqualTo(Integer value) {
            addCriterion("btype <>", value, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeGreaterThan(Integer value) {
            addCriterion("btype >", value, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("btype >=", value, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeLessThan(Integer value) {
            addCriterion("btype <", value, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeLessThanOrEqualTo(Integer value) {
            addCriterion("btype <=", value, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeIn(List<Integer> values) {
            addCriterion("btype in", values, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeNotIn(List<Integer> values) {
            addCriterion("btype not in", values, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeBetween(Integer value1, Integer value2) {
            addCriterion("btype between", value1, value2, "btype");
            return (Criteria) this;
        }

        public Criteria andBtypeNotBetween(Integer value1, Integer value2) {
            addCriterion("btype not between", value1, value2, "btype");
            return (Criteria) this;
        }

        public Criteria andBattrIsNull() {
            addCriterion("battr is null");
            return (Criteria) this;
        }

        public Criteria andBattrIsNotNull() {
            addCriterion("battr is not null");
            return (Criteria) this;
        }

        public Criteria andBattrEqualTo(Integer value) {
            addCriterion("battr =", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrNotEqualTo(Integer value) {
            addCriterion("battr <>", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrGreaterThan(Integer value) {
            addCriterion("battr >", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrGreaterThanOrEqualTo(Integer value) {
            addCriterion("battr >=", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrLessThan(Integer value) {
            addCriterion("battr <", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrLessThanOrEqualTo(Integer value) {
            addCriterion("battr <=", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrIn(List<Integer> values) {
            addCriterion("battr in", values, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrNotIn(List<Integer> values) {
            addCriterion("battr not in", values, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrBetween(Integer value1, Integer value2) {
            addCriterion("battr between", value1, value2, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrNotBetween(Integer value1, Integer value2) {
            addCriterion("battr not between", value1, value2, "battr");
            return (Criteria) this;
        }

        public Criteria andPosIsNull() {
            addCriterion("pos is null");
            return (Criteria) this;
        }

        public Criteria andPosIsNotNull() {
            addCriterion("pos is not null");
            return (Criteria) this;
        }

        public Criteria andPosEqualTo(Integer value) {
            addCriterion("pos =", value, "pos");
            return (Criteria) this;
        }

        public Criteria andPosNotEqualTo(Integer value) {
            addCriterion("pos <>", value, "pos");
            return (Criteria) this;
        }

        public Criteria andPosGreaterThan(Integer value) {
            addCriterion("pos >", value, "pos");
            return (Criteria) this;
        }

        public Criteria andPosGreaterThanOrEqualTo(Integer value) {
            addCriterion("pos >=", value, "pos");
            return (Criteria) this;
        }

        public Criteria andPosLessThan(Integer value) {
            addCriterion("pos <", value, "pos");
            return (Criteria) this;
        }

        public Criteria andPosLessThanOrEqualTo(Integer value) {
            addCriterion("pos <=", value, "pos");
            return (Criteria) this;
        }

        public Criteria andPosIn(List<Integer> values) {
            addCriterion("pos in", values, "pos");
            return (Criteria) this;
        }

        public Criteria andPosNotIn(List<Integer> values) {
            addCriterion("pos not in", values, "pos");
            return (Criteria) this;
        }

        public Criteria andPosBetween(Integer value1, Integer value2) {
            addCriterion("pos between", value1, value2, "pos");
            return (Criteria) this;
        }

        public Criteria andPosNotBetween(Integer value1, Integer value2) {
            addCriterion("pos not between", value1, value2, "pos");
            return (Criteria) this;
        }

        public Criteria andMimesIsNull() {
            addCriterion("mimes is null");
            return (Criteria) this;
        }

        public Criteria andMimesIsNotNull() {
            addCriterion("mimes is not null");
            return (Criteria) this;
        }

        public Criteria andMimesEqualTo(String value) {
            addCriterion("mimes =", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotEqualTo(String value) {
            addCriterion("mimes <>", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesGreaterThan(String value) {
            addCriterion("mimes >", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesGreaterThanOrEqualTo(String value) {
            addCriterion("mimes >=", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesLessThan(String value) {
            addCriterion("mimes <", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesLessThanOrEqualTo(String value) {
            addCriterion("mimes <=", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesLike(String value) {
            addCriterion("mimes like", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotLike(String value) {
            addCriterion("mimes not like", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesIn(List<String> values) {
            addCriterion("mimes in", values, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotIn(List<String> values) {
            addCriterion("mimes not in", values, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesBetween(String value1, String value2) {
            addCriterion("mimes between", value1, value2, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotBetween(String value1, String value2) {
            addCriterion("mimes not between", value1, value2, "mimes");
            return (Criteria) this;
        }

        public Criteria andTopframeIsNull() {
            addCriterion("topframe is null");
            return (Criteria) this;
        }

        public Criteria andTopframeIsNotNull() {
            addCriterion("topframe is not null");
            return (Criteria) this;
        }

        public Criteria andTopframeEqualTo(Integer value) {
            addCriterion("topframe =", value, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeNotEqualTo(Integer value) {
            addCriterion("topframe <>", value, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeGreaterThan(Integer value) {
            addCriterion("topframe >", value, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeGreaterThanOrEqualTo(Integer value) {
            addCriterion("topframe >=", value, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeLessThan(Integer value) {
            addCriterion("topframe <", value, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeLessThanOrEqualTo(Integer value) {
            addCriterion("topframe <=", value, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeIn(List<Integer> values) {
            addCriterion("topframe in", values, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeNotIn(List<Integer> values) {
            addCriterion("topframe not in", values, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeBetween(Integer value1, Integer value2) {
            addCriterion("topframe between", value1, value2, "topframe");
            return (Criteria) this;
        }

        public Criteria andTopframeNotBetween(Integer value1, Integer value2) {
            addCriterion("topframe not between", value1, value2, "topframe");
            return (Criteria) this;
        }

        public Criteria andExpdirIsNull() {
            addCriterion("expdir is null");
            return (Criteria) this;
        }

        public Criteria andExpdirIsNotNull() {
            addCriterion("expdir is not null");
            return (Criteria) this;
        }

        public Criteria andExpdirEqualTo(Integer value) {
            addCriterion("expdir =", value, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirNotEqualTo(Integer value) {
            addCriterion("expdir <>", value, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirGreaterThan(Integer value) {
            addCriterion("expdir >", value, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirGreaterThanOrEqualTo(Integer value) {
            addCriterion("expdir >=", value, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirLessThan(Integer value) {
            addCriterion("expdir <", value, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirLessThanOrEqualTo(Integer value) {
            addCriterion("expdir <=", value, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirIn(List<Integer> values) {
            addCriterion("expdir in", values, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirNotIn(List<Integer> values) {
            addCriterion("expdir not in", values, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirBetween(Integer value1, Integer value2) {
            addCriterion("expdir between", value1, value2, "expdir");
            return (Criteria) this;
        }

        public Criteria andExpdirNotBetween(Integer value1, Integer value2) {
            addCriterion("expdir not between", value1, value2, "expdir");
            return (Criteria) this;
        }

        public Criteria andApiIsNull() {
            addCriterion("api is null");
            return (Criteria) this;
        }

        public Criteria andApiIsNotNull() {
            addCriterion("api is not null");
            return (Criteria) this;
        }

        public Criteria andApiEqualTo(Integer value) {
            addCriterion("api =", value, "api");
            return (Criteria) this;
        }

        public Criteria andApiNotEqualTo(Integer value) {
            addCriterion("api <>", value, "api");
            return (Criteria) this;
        }

        public Criteria andApiGreaterThan(Integer value) {
            addCriterion("api >", value, "api");
            return (Criteria) this;
        }

        public Criteria andApiGreaterThanOrEqualTo(Integer value) {
            addCriterion("api >=", value, "api");
            return (Criteria) this;
        }

        public Criteria andApiLessThan(Integer value) {
            addCriterion("api <", value, "api");
            return (Criteria) this;
        }

        public Criteria andApiLessThanOrEqualTo(Integer value) {
            addCriterion("api <=", value, "api");
            return (Criteria) this;
        }

        public Criteria andApiIn(List<Integer> values) {
            addCriterion("api in", values, "api");
            return (Criteria) this;
        }

        public Criteria andApiNotIn(List<Integer> values) {
            addCriterion("api not in", values, "api");
            return (Criteria) this;
        }

        public Criteria andApiBetween(Integer value1, Integer value2) {
            addCriterion("api between", value1, value2, "api");
            return (Criteria) this;
        }

        public Criteria andApiNotBetween(Integer value1, Integer value2) {
            addCriterion("api not between", value1, value2, "api");
            return (Criteria) this;
        }

        public Criteria andVcmIsNull() {
            addCriterion("vcm is null");
            return (Criteria) this;
        }

        public Criteria andVcmIsNotNull() {
            addCriterion("vcm is not null");
            return (Criteria) this;
        }

        public Criteria andVcmEqualTo(Integer value) {
            addCriterion("vcm =", value, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmNotEqualTo(Integer value) {
            addCriterion("vcm <>", value, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmGreaterThan(Integer value) {
            addCriterion("vcm >", value, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmGreaterThanOrEqualTo(Integer value) {
            addCriterion("vcm >=", value, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmLessThan(Integer value) {
            addCriterion("vcm <", value, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmLessThanOrEqualTo(Integer value) {
            addCriterion("vcm <=", value, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmIn(List<Integer> values) {
            addCriterion("vcm in", values, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmNotIn(List<Integer> values) {
            addCriterion("vcm not in", values, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmBetween(Integer value1, Integer value2) {
            addCriterion("vcm between", value1, value2, "vcm");
            return (Criteria) this;
        }

        public Criteria andVcmNotBetween(Integer value1, Integer value2) {
            addCriterion("vcm not between", value1, value2, "vcm");
            return (Criteria) this;
        }

        public Criteria andResourceidIsNull() {
            addCriterion("resourceid is null");
            return (Criteria) this;
        }

        public Criteria andResourceidIsNotNull() {
            addCriterion("resourceid is not null");
            return (Criteria) this;
        }

        public Criteria andResourceidEqualTo(Integer value) {
            addCriterion("resourceid =", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidNotEqualTo(Integer value) {
            addCriterion("resourceid <>", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidGreaterThan(Integer value) {
            addCriterion("resourceid >", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidGreaterThanOrEqualTo(Integer value) {
            addCriterion("resourceid >=", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidLessThan(Integer value) {
            addCriterion("resourceid <", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidLessThanOrEqualTo(Integer value) {
            addCriterion("resourceid <=", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidIn(List<Integer> values) {
            addCriterion("resourceid in", values, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidNotIn(List<Integer> values) {
            addCriterion("resourceid not in", values, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidBetween(Integer value1, Integer value2) {
            addCriterion("resourceid between", value1, value2, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidNotBetween(Integer value1, Integer value2) {
            addCriterion("resourceid not between", value1, value2, "resourceid");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(Integer value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(Integer value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(Integer value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(Integer value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(Integer value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(Integer value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<Integer> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<Integer> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(Integer value1, Integer value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(Integer value1, Integer value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andAidIsNull() {
            addCriterion("aid is null");
            return (Criteria) this;
        }

        public Criteria andAidIsNotNull() {
            addCriterion("aid is not null");
            return (Criteria) this;
        }

        public Criteria andAidEqualTo(Integer value) {
            addCriterion("aid =", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotEqualTo(Integer value) {
            addCriterion("aid <>", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThan(Integer value) {
            addCriterion("aid >", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThanOrEqualTo(Integer value) {
            addCriterion("aid >=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThan(Integer value) {
            addCriterion("aid <", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThanOrEqualTo(Integer value) {
            addCriterion("aid <=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidIn(List<Integer> values) {
            addCriterion("aid in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotIn(List<Integer> values) {
            addCriterion("aid not in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidBetween(Integer value1, Integer value2) {
            addCriterion("aid between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotBetween(Integer value1, Integer value2) {
            addCriterion("aid not between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andWeburlIsNull() {
            addCriterion("weburl is null");
            return (Criteria) this;
        }

        public Criteria andWeburlIsNotNull() {
            addCriterion("weburl is not null");
            return (Criteria) this;
        }

        public Criteria andWeburlEqualTo(String value) {
            addCriterion("weburl =", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotEqualTo(String value) {
            addCriterion("weburl <>", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlGreaterThan(String value) {
            addCriterion("weburl >", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlGreaterThanOrEqualTo(String value) {
            addCriterion("weburl >=", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlLessThan(String value) {
            addCriterion("weburl <", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlLessThanOrEqualTo(String value) {
            addCriterion("weburl <=", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlLike(String value) {
            addCriterion("weburl like", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotLike(String value) {
            addCriterion("weburl not like", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlIn(List<String> values) {
            addCriterion("weburl in", values, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotIn(List<String> values) {
            addCriterion("weburl not in", values, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlBetween(String value1, String value2) {
            addCriterion("weburl between", value1, value2, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotBetween(String value1, String value2) {
            addCriterion("weburl not between", value1, value2, "weburl");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andCnameIsNull() {
            addCriterion("cname is null");
            return (Criteria) this;
        }

        public Criteria andCnameIsNotNull() {
            addCriterion("cname is not null");
            return (Criteria) this;
        }

        public Criteria andCnameEqualTo(String value) {
            addCriterion("cname =", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotEqualTo(String value) {
            addCriterion("cname <>", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThan(String value) {
            addCriterion("cname >", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThanOrEqualTo(String value) {
            addCriterion("cname >=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThan(String value) {
            addCriterion("cname <", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThanOrEqualTo(String value) {
            addCriterion("cname <=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLike(String value) {
            addCriterion("cname like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotLike(String value) {
            addCriterion("cname not like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameIn(List<String> values) {
            addCriterion("cname in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotIn(List<String> values) {
            addCriterion("cname not in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameBetween(String value1, String value2) {
            addCriterion("cname between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotBetween(String value1, String value2) {
            addCriterion("cname not between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andAnameIsNull() {
            addCriterion("aname is null");
            return (Criteria) this;
        }

        public Criteria andAnameIsNotNull() {
            addCriterion("aname is not null");
            return (Criteria) this;
        }

        public Criteria andAnameEqualTo(String value) {
            addCriterion("aname =", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotEqualTo(String value) {
            addCriterion("aname <>", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameGreaterThan(String value) {
            addCriterion("aname >", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameGreaterThanOrEqualTo(String value) {
            addCriterion("aname >=", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLessThan(String value) {
            addCriterion("aname <", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLessThanOrEqualTo(String value) {
            addCriterion("aname <=", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLike(String value) {
            addCriterion("aname like", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotLike(String value) {
            addCriterion("aname not like", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameIn(List<String> values) {
            addCriterion("aname in", values, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotIn(List<String> values) {
            addCriterion("aname not in", values, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameBetween(String value1, String value2) {
            addCriterion("aname between", value1, value2, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotBetween(String value1, String value2) {
            addCriterion("aname not between", value1, value2, "aname");
            return (Criteria) this;
        }

        public Criteria andCreativelabelIsNull() {
            addCriterion("creativelabel is null");
            return (Criteria) this;
        }

        public Criteria andCreativelabelIsNotNull() {
            addCriterion("creativelabel is not null");
            return (Criteria) this;
        }

        public Criteria andCreativelabelEqualTo(String value) {
            addCriterion("creativelabel =", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelNotEqualTo(String value) {
            addCriterion("creativelabel <>", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelGreaterThan(String value) {
            addCriterion("creativelabel >", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelGreaterThanOrEqualTo(String value) {
            addCriterion("creativelabel >=", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelLessThan(String value) {
            addCriterion("creativelabel <", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelLessThanOrEqualTo(String value) {
            addCriterion("creativelabel <=", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelLike(String value) {
            addCriterion("creativelabel like", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelNotLike(String value) {
            addCriterion("creativelabel not like", value, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelIn(List<String> values) {
            addCriterion("creativelabel in", values, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelNotIn(List<String> values) {
            addCriterion("creativelabel not in", values, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelBetween(String value1, String value2) {
            addCriterion("creativelabel between", value1, value2, "creativelabel");
            return (Criteria) this;
        }

        public Criteria andCreativelabelNotBetween(String value1, String value2) {
            addCriterion("creativelabel not between", value1, value2, "creativelabel");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}